//
//  NSString+FKAdd.h
//  FK_Categories
//
//  Created by 云眼科技 on 16/6/13.
//  Copyright © 2016年 CloudEyes. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (FKAdd)


-(nullable NSString *)FKMd5String;

#pragma mark - count font size

+(nullable NSString *)getCachePath;
+(nullable NSString *)getDocumentPath;



-(CGSize)sizeWithFont:(UIFont *)font size:(CGSize)size lineBreakMode:(NSLineBreakMode)breakMode;
-(CGFloat)widthWithFont:(UIFont *)font;
-(CGFloat)heightWithFont:(UIFont *)font width:(CGFloat)width;

-(nullable NSData *)dataValue;

-(nullable NSString *)base64EncodedString;
+(nullable NSString *)stringWithBase64EncodedString:(NSString *)base64EncodedString;


NS_ASSUME_NONNULL_END
@end
